2024 Method
Changes 0
M

StructuralConnectionHandler.Create

Description:
Creates custom StructuralConnectionHandlerType and StructuralConnectionHandler.
Remarks:
Input Elements are deleted. All the input elements should be of the following structural categories:
  • FamilyInstance (structural beams and columns).
  • StructuralConnectionHandler elements associated to the connection.
  • Specific steel connection elements (bolts, anchors, plates, etc). These connection elements will be of type element but with categories related to structural connections, for example:
    • OST_StructConnectionWelds
    • OST_StructConnectionHoles
    • OST_StructConnectionModifiers
    • OST_StructConnectionShearStuds
    • OST_StructConnectionBolts
    • OST_StructConnectionAnchors
    • OST_StructConnectionPlates
Overloads (3):
public static StructuralConnectionHandler Create(
	Document document,
	IList<ElementId> elementIds,
	string typeName
)
  • document
    The Document.
  • IList<ElementId>
    elementIds
    Elements which are to be used to create custom StructuralConnectionHandlerType.
  • String
    typeName
    The StructuralConnectionHandlerType name.
Return Value StructuralConnectionHandler The created StructuralConnectionHandler which is of just created custom StructuralConnectionHandlerType.